<!-- Begin stats/users.tpl -->
<form method="post" action="?module=stats&action=users">
{opentable}

{titlebar colspan=2 title=$lg->my_stats}
<tr>
	<td class="sectiontableentry2" width = "10%" align="right" valign="middle">{$lg->perio}</td>
	<td class="sectiontableentry1" width = "80%">
	     <input type="text" size="12" name="datdeb" id="sel3" value="{$datdeb}" /> 
		<input class="button" type="reset" value=">" onclick="return showCalendar('sel3', '%d/%m/%Y');">
		 <div id="display" style="float: right; clear: both;"></div>
		{$lg->to}
		<input type="text" size="12" name="datfin" id="sel1" value="{$datdeb}" /> 
		<input class="button" type="reset" value=">" onclick="return showCalendar('sel1', '%d/%m/%Y');">
	</td>
</tr>
<tr>
	<td><input type="submit" class="button" value={$lg->validate} /></td>
</tr>
</table>
</table>
</form>
	<table class = "s_cost" "border = "0" style = "margin-left: 10px ;" >
{foreach from=$t_datas item=s_datas}

	{if $s_datas.line_type == 'I'}
			<tr class = "row1">
				<td  align="right" width = "5%" >{$s_datas.issueid}</td>
				<td colspan="4" align="left">{$s_datas.summary|stripslashes}</td>
			</tr>
	{elseif $s_datas.line_type == 'N'}
			<tr >
				<td width = "8%">{$s_datas.gid}</td>
				<td width = "2%">{$s_datas.iid}</td>
				<td width = "20%" ><a href="?module=issues&action=cost&issueid={$s_datas.iid}&gid={$s_datas.gid}" >{$s_datas.summary|stripslashes}</a></td>
				<td width = "10%" align="left">{$s_datas.lcomp	}</td>		
				<td width = "10%" align="left">{$s_datas.ttask}</td>
				<td width = "10%" align="left">{$s_datas.icost}</td>
				<td width = "10%" align="left">{$s_datas.cost}</td>
				<td width = "10%" align="left">{$s_datas.gcost}</td>
				<td width = "10%" align="left">{$s_datas.prend} %</td>
			</tr>
	{elseif $s_datas.line_type == 'T'}
			<tr style = "font:bold;">
				<td colspan = "4">&nbsp;</td>
				<td align="left"> {$lg->total}</td>
				<td align="left"> {$s_datas.cost}</td>
			</tr>			
	{elseif $s_datas.line_type == 'F'}
		</table>	
	{/if}
{/foreach}

<!-- End stats/users.tpl -->


